﻿<?php
	$professional = $_POST["Professional"];
	$school = $_POST["school"];
	$sex = $_POST["sex"];
	$year = $_POST["year"];
	$id_employ_message = $_POST["id_employ_message"];
	include("../class/inbox.class.php");
	$class_inbox = new Inbox();
	$class_inbox->SendMessageTo($majorId,$school,$sex,$enrol_year,$id_employ_message);
	echo '<script>alert("添加成功！");window.location.href="../company/Recruitment_list.php";</script>';
?>